import base from "./base"; // 导入接口域名列表
import axios from "../utils/request"; // 导入request中创建的axios实例

export const findMenuList = () =>
    axios.get(base.baseUrl + '/menu/list')

export const getConfig = (type: number) =>
    axios.get(base.baseUrl + '/config/list', {params: {type: type}})

export const fileGet = (type: number) =>
    axios.get(base.baseUrl + '/file/image/pc', {params: {type: type}})
